package cn.jwcat.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("s_advise")
public class Advise implements Serializable {

	/**
	 * id
	 */
	@TableId(value = "advise_id", type = IdType.AUTO)
	private Integer adviseId;

	/**
	 * 内容
	 */
	@TableField("context")
	private String context;

	/**
	 * 处理状态
	 */
	@TableField("status")
	private String status;

	/**
	 * 创建时间
	 */
	@TableField(value = "create_time", fill = FieldFill.INSERT)
	private LocalDateTime createTime;

	/**
	 * 回复内容
	 */
	@TableField("reply")
	private String reply;

	@TableField(exist = false)
	private String[] time;
}
